package com.yuda.campsite.mapper;

import com.yuda.campsite.domain.BaoMingStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.*;

/**
 * @Author: xiaohudie
 * @Date: 2021/9/28 16:57
 * @Version: 1.8
 */
@Mapper
public interface BaoMingStudnetMapper {
    /** 查询全部需要审核的学生*/
    public List<BaoMingStudent> AllStudnet(@Param("page") Integer page,
                                           @Param("offset") Integer offset);
    /**查询单个学生对象*/
    public BaoMingStudent DanGeStudent(@Param("phone") String phone,@Param("campsiteId") String campsiteId);
    /** 审核接口*/
    public int shenghesuccess(@Param("examineStatus") String examineStatus,@Param("idCard") String idCard,@Param("campsiteId") String campsiteId);
    /**审核不通过原因接口*/
    public  int FailReason(@Param("examineReason") String examineReason,@Param("idCard") String idCard);
    /**审核带条件查询对象*/
    public List<BaoMingStudent> shenghechaxun(@Param("jiguanProvince") String jiguanProvince,
                                              @Param("jiguanCity") String jiguanCity,
                                              @Param("name") String name,
                                              @Param("page") Integer page,
                                              @Param("offset") Integer offset);
}
